package com.game;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoRepositoriesAutoConfiguration;
import org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;

/**
 * mongo和redis都是通过自定义配置,排斥redis和mongo的自动配置
 * 
 * @author zgame
 *
 */
@SpringBootApplication(scanBasePackages = "com", exclude = { MongoAutoConfiguration.class,
		RedisRepositoriesAutoConfiguration.class, MongoRepositoriesAutoConfiguration.class })
public class GameApp {
	public static void main(String[] args) {
		SpringApplication.run(GameApp.class, args);
	}
}
